home *** CD-ROM | disk | FTP | other *** search
INI File | 2004-10-22 | 1.5 KB | 75 lines |
- [!outputon]
- using System;
- using System.Collections;
- using System.ComponentModel;
- using System.Data;
- using System.Diagnostics;
- using System.Web;
- using System.Web.Services;
-
- namespace [!Namespace]
- {
- /// <summary>
- /// Summary description for [!ClassName].
- /// </summary>
- public class [!ClassName]: System.Web.Services.WebService
- {
- public [!ClassName]()
- {
- //
- // CODEGEN: This call is required by the ASP.NET Web Services Designer
- //
- InitializeComponent();
- }
-
- #region Web Form Designer generated code
-
- //Required by the Web Services Designer
- private IContainer components = null;
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- }
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- protected override void Dispose( bool disposing )
- {
- if(disposing && components != null)
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #endregion
-
- // Sample Web Service Methods
- // The following methods are provided to allow for testing a new web service.
- // To test, uncomment these lines, save, and build the project.
- // This code may safely be deleted.
-
- /*
- [WebMethod]
- public string HelloWorld()
- {
- return "Hello World";
- }
-
- [WebMethod]
- public string EchoString(string strInput)
- {
- return strInput;
- }
-
- */
-
- }
- }
-
-